<?php

try
{
	require_once 'init.inc';

	$page = new Page($par->get('id'));
	$name = $page->title();
	$title = $page->title() . " - магазин Лодки Моторы Палатки";
	$keywordsOb = new KeyWords('cf_pages', 'id', $page->id());
	$keywords = $keywordsOb->words();
	$description = $page->descr();

	assignTemplateVars('page','title','name','keywords','description');
	display('page');
}
catch (Exception $e)
{
	header('Location: error.php');
}

?>